<!DOCTYPE html>
<html>
<head>
    <title>抽奖历史</title>
    <meta charset="utf-8"/>
    <!--开启响应式布局-->
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="/js/bootstrap-4.1.1-dist/css/bootstrap.min.css">
    <script src="/js/jquery/jquery.min.js"></script>
    <script src="/js/bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
    <script src="/js/plugins/jrender/jrender.min.js"></script>
    <link rel="stylesheet" href="/css/font/css/font-awesome.min.css"/>
    <link rel="stylesheet" href="/css/reset.css"/>
    <link rel="stylesheet" href="/css/userTravels.css"/>
    <link rel="stylesheet" href="/js/plugins/dialog2/dialog.css"/>
    <script src="/js/plugins/dialog2/dialog.min.js"></script>
    <script src="/js/common.js"></script>
    <script src="/js/checkLogin.js"></script>

    <script>
        $(function () {
            //获取其签到历史
            $.get(baseUrl + "/lottoHistorys/" + user.id, function (data) {
                var temp='';
                $.each(data,function (index,ele) {
                    index=index+1;
                temp+="<tr><td>"+index+"</td><td>"+ele.time+"</td><td>"+ele.mark+"</td></tr>";
                });
                console.log(temp);
                $("#table1").append(temp);
            })
        })
    </script>

</head>

<body style="background-color:lightpink">
<div class="search-head">
    <div class="row nav-search">
        <div class="col">
            <a href="/mine/lotto/turntable.html">
                <span><i class="fa fa-chevron-left"></i></span>
            </a>
        </div>
        <div class="col">
            <span>抽奖历史</span>
        </div>
        <div class="col"></div>
    </div>
</div><br>

<table id="table1" border="1" style="margin-left: 35px;" width="300px" >
    <tr align="center">
        <th>序号</th>
        <th>抽奖时间</th>
        <th>获得奖励</th>

    </tr>




</table>
</body>
</html>
